package edu.njust.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.sql.Timestamp;
import java.util.Date;

public class StayRegister {
    //基本字段
    @JsonProperty("id")
    private int id;
    @JsonProperty("predetermineID")
    private int predetermineID;
    @JsonProperty("roomID")
    private int roomID;
    @JsonProperty("payWayID")
    private int payWayID;
    @JsonProperty("registerTime")
    private Date registerTime;
    @JsonProperty("stayNumber")
    private int stayNumber;
    @JsonProperty("sumConst")
    private double sumConst;
    @JsonProperty("isBillID")
    private int isBillID=54;
    @JsonProperty("remarks")
    private String remarks;
    @JsonProperty("payTime")
    private Date payTime;
    @JsonProperty("remind")
    private int remind;


    @Override
    public String toString() {
        return "StayRegister{" +
                "id=" + id +//
                ", roomID=" + roomID +//
                ", stayNumber=" + stayNumber +//
                ", consumptionId=" + consumptionId +//
                ", consumptionCommodityID=" + consumptionCommodityID +//
                ", consumptionTime=" + consumptionTime +//
                ", commodityName='" + commodityName + '\'' +//
                ", roomStandardPriceDay=" + roomStandardPriceDay +//
                '}';
    }

    //预约押金
    private double reservationDeposit;





    //消费明细相关字段，与表bill_details有关
    private Integer consumptionId;                      //消费明细的主键ID

    private Integer consumptionStayRegisterID;         //消费明细的住宿登记ID

    private Integer consumptionCommodityID;         //消费明细的商品ID

    private String consumptionNumber;        //消费明细的消费商品数量

    @JsonProperty("consumptionMoney")
    private double consumptionMoney;             //消费金额

    private Date consumptionTime;  //消费时间
    //消费明细相关字段，和表commodity，每条账单对应的商品
    private int commodityTypeID;         //消费明细的商品的商品类别ID
    private int commoditynumID;         //消费明细的商品的计量单位ID
    private String commodityName;        //消费明细的商品的商品名称
    private double commoditySalePrice;             //消费明细的商品的销售价格
    //消费明细的再扩展字段 查参数表
    private String commodityTypeName;        //消费明细的商品的商品类别名称
    private String commoditynumName;        //消费明细的商品的计量单位名称







    //房间相关字段
    /*----------------------------------------  扩展字段   房间ID  start ----------------------------------------------*/

    private int roomGuestRoomLevelID;            //房间的客房等级ID

    private int roomStateID;                     //房间的房态ID

    private String roomNumber;                       //房间的房间号

    private String roomAmount;                       //房间的床位数

    private double roomStandardPriceDay;             //房间的标准房价/天
    //房间ID 的扩展字段 房间 的 再扩展字段

    private String roomGuestRoomLevelName;             //房间的客房等级名称

    private String roomStateName;                      //房间的房态名称

    /*-------------------------------------------- end ------------------------------------------------------------*/
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPredetermineID() {
        return predetermineID;
    }

    public void setPredetermineID(int predetermineID) {
        this.predetermineID = predetermineID;
    }

    public int getRoomID() {
        return roomID;
    }

    public void setRoomID(int roomID) {
        this.roomID = roomID;
    }

    public int getPayWayID() {
        return payWayID;
    }

    public void setPayWayID(int payWayID) {
        this.payWayID = payWayID;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public int getStayNumber() {
        return stayNumber;
    }

    public void setStayNumber(int stayNumber) {
        this.stayNumber = stayNumber;
    }

    public double getSumConst() {
        return sumConst;
    }

    public void setSumConst(double sumConst) {
        this.sumConst = sumConst;
    }

    public int getIsBillID() {
        return isBillID;
    }

    public void setIsBillID(int isBillID) {
        this.isBillID = isBillID;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public int getRemind() {
        return remind;
    }

    public void setRemind(int remind) {
        this.remind = remind;
    }

    public double getReservationDeposit() {
        return reservationDeposit;
    }

    public void setReservationDeposit(double reservationDeposit) {
        this.reservationDeposit = reservationDeposit;
    }

    public Integer getConsumptionId() {
        return consumptionId;
    }

    public void setConsumptionId(Integer consumptionId) {
        this.consumptionId = consumptionId;
    }

    public Integer getConsumptionStayRegisterID() {
        return consumptionStayRegisterID;
    }

    public void setConsumptionStayRegisterID(Integer consumptionStayRegisterID) {
        this.consumptionStayRegisterID = consumptionStayRegisterID;
    }

    public Integer getConsumptionCommodityID() {
        return consumptionCommodityID;
    }

    public void setConsumptionCommodityID(Integer consumptionCommodityID) {
        this.consumptionCommodityID = consumptionCommodityID;
    }

    public String getConsumptionNumber() {
        return consumptionNumber;
    }

    public void setConsumptionNumber(String consumptionNumber) {
        this.consumptionNumber = consumptionNumber;
    }

    public double getConsumptionMoney() {
        return consumptionMoney;
    }

    public void setConsumptionMoney(double consumptionMoney) {
        this.consumptionMoney = consumptionMoney;
    }

    public Date getConsumptionTime() {
        return consumptionTime;
    }

    public void setConsumptionTime(Date consumptionTime) {
        this.consumptionTime = consumptionTime;
    }

    public int getCommodityTypeID() {
        return commodityTypeID;
    }

    public void setCommodityTypeID(int commodityTypeID) {
        this.commodityTypeID = commodityTypeID;
    }

    public int getCommoditynumID() {
        return commoditynumID;
    }

    public void setCommoditynumID(int commoditynumID) {
        this.commoditynumID = commoditynumID;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public double getCommoditySalePrice() {
        return commoditySalePrice;
    }

    public void setCommoditySalePrice(double commoditySalePrice) {
        this.commoditySalePrice = commoditySalePrice;
    }

    public String getCommodityTypeName() {
        return commodityTypeName;
    }

    public void setCommodityTypeName(String commodityTypeName) {
        this.commodityTypeName = commodityTypeName;
    }

    public String getCommoditynumName() {
        return commoditynumName;
    }

    public void setCommoditynumName(String commoditynumName) {
        this.commoditynumName = commoditynumName;
    }

    public int getRoomGuestRoomLevelID() {
        return roomGuestRoomLevelID;
    }

    public void setRoomGuestRoomLevelID(int roomGuestRoomLevelID) {
        this.roomGuestRoomLevelID = roomGuestRoomLevelID;
    }

    public int getRoomStateID() {
        return roomStateID;
    }

    public void setRoomStateID(int roomStateID) {
        this.roomStateID = roomStateID;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getRoomAmount() {
        return roomAmount;
    }

    public void setRoomAmount(String roomAmount) {
        this.roomAmount = roomAmount;
    }

    public double getRoomStandardPriceDay() {
        return roomStandardPriceDay;
    }

    public void setRoomStandardPriceDay(double roomStandardPriceDay) {
        this.roomStandardPriceDay = roomStandardPriceDay;
    }

    public String getRoomGuestRoomLevelName() {
        return roomGuestRoomLevelName;
    }

    public void setRoomGuestRoomLevelName(String roomGuestRoomLevelName) {
        this.roomGuestRoomLevelName = roomGuestRoomLevelName;
    }

    public String getRoomStateName() {
        return roomStateName;
    }

    public void setRoomStateName(String roomStateName) {
        this.roomStateName = roomStateName;
    }
}

